﻿<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />  
    <title>订单详情</title>
    <link href="/admin_wechat/css/css.css" rel="stylesheet" /> 
    <script src="/admin_wechat/scripts/common/jquery.js"></script> 
    <script src="/admin_wechat/scripts/common/ajax-data.js"></script>   
    <script src="/admin_wechat/scripts/common/base.js"></script>
    <script src="/admin_wechat/scripts/common/dialog.js"></script>
    <script src="/admin_wechat/scripts/order.js"></script>
    <style type="text/css">     

        .box {text-align: center;margin: 0px 0px;border-bottom: solid 1px #ededed;height: 50px;background-color: white; padding: 0 10px 0 10px}
        .box1 {height: 100%;width: 48%;border: solid 0px black;font-size: 14px;color: #333;line-height: 50px;}
        .b-left {float:left;text-align:left;width:25%;}
        .b-right{float:right;text-align:right;width:75%; height:35px; overflow:hidden;}
        
        .btn{width:80px; line-height:35px; font-size:16px;border: solid 1px #f492ab;margin:5px 15px 0 0; color:#f492ab}
        .prd {text-align: center;margin: 0px 0px;border-bottom: solid 1px #ededed;background-color: white;padding: 0 10px 0 10px}
        .prd1 {width:20%}
        .prd1 img{ width:60px;}  
        .prd2 {width:60%;} 
        .prd3 {width:20%;}
        .bt-line { border-top:solid 1px #ccc;}
        .red { color:#f492ab;}        
        .pd{padding: 0 10px 0 10px;}
    </style>

</head>
<body style="background-color:#e4e4e4; margin:0px;">
    <div class="box">
        <div class="btn btn-action right pd">操作记录</div>
        <div class="btn btn-manage right pd">订单操作</div>
    </div>

    <!--订单信息-->
    <div class="box">
        <div class="box1 b-left">订单编号</div>
        <div class="box1 b-right osn"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">下单时间</div>
        <div class="box1 b-right addtime"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">订单状态</div>
        <div class="box1 b-right state red"></div>
    </div>
    <div class="box sid-box" style="display:none;">
        <div class="box1 b-left">餐桌号</div>
        <div class="box1 b-right Sid"></div>
    </div>
    <div class="box" style="border-bottom:solid 8px #e4e4e4;">
        <div class="box1 b-left">备注</div>
        <div class="box1 b-right BuyerRemark" >暂无</div>
    </div>

    <!--商品价格-->
    <div class="box">
        <div class="box1 b-left">商品总额</div>
        <div class="box1 b-right OrderAmount red"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">运费</div>
        <div class="box1 b-right ShipFee"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">优惠券</div>
        <div class="box1 b-right CouponMoney"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">积分总额</div>
        <div class="box1 b-right PayCreditMoney"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">订单折扣</div>
        <div class="box1 b-right Discount"></div>
    </div>
    <div class="box" style="border-bottom:solid 8px #e4e4e4;">
        <div class="box1 b-left">实付金额</div>
        <div class="box1 b-right SurplusMoney red"></div>
    </div>


    <!--配送方式-->
    <div class="box">
        <div class="box1 b-left">配送方式</div>
        <div class="box1 b-right ShipCoName"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">物流单号</div>
        <div class="box1 b-right ShipSN"></div>
    </div>   
    <div class="box">
        <div class="box1 b-left">收货人</div>
        <div class="box1 b-right Consignee"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">手机</div>
        <div class="box1 b-right Mobile"></div>
    </div>
    <div class="box">
        <div class="box1 b-left">地址</div>
        <div class="box1 b-right Address"></div>
    </div>
    <div class="box" style="border-bottom:solid 8px #e4e4e4;">
        <div class="box1 b-left">邮编</div>
        <div class="box1 b-right ZipCode"></div>
    </div>

    <div class="box" style="display:none;">
        <div class="btn-action right pd">操作记录</div>
    </div>

    <!--订单产品-->
    <div class="productList">

    </div>
    
    <script>
        $(function () {
            var uid = getQueryString("uid")
            var oid = getQueryString("oid")
            var osn = getQueryString("osn")
            if (osn != '')
                loadDetailByOSN(uid, osn);
            else
                loadDetail(uid, oid);
        });
    </script>
</body>
</html>
